package com.gaofei.goods.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author : gaofee
 * @date : 16:54 2021/5/18
 * @码云地址 : https://gitee.com/itgaofee
 */
@Configuration
public class RestConfig {

    @Bean
    public RestTemplate initRest(){
        return new RestTemplate();
    }
}
